<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单</title>
</head>
<body>
    <a href="https://www.baidu.com">打开百度</a>
    <form action="#">
        姓名:<input type="text" value="tom" placeholder="请输入用户名" name="uname"><br>
        昵称:<input type="text" value="rose" name="nickname" maxlength="6" readonly><br>
        密码:<input type="password" name="pwd" placeholder="请输入密码" ><br>
        <input type="file" name="ufile"><br>
        性别:
        <input type="radio" name="gender" value="1">男
        <input type="radio" name="gender" value="0" checked>女
        <br>
        爱好:
        <input type="checkbox" name="like" value="cy">抽烟
        <input type="checkbox" name="like" value="hj" checked>喝酒
        <input type="checkbox" name="like" value="tt">烫头
        <input type="checkbox" name="like" value="java" checked>学java
        <br>
        生日:
        <input type="date" name="birthdate">
        <br>
        幸运色:<input type="color"><br>
        缩放:<input type="range"><br>
        留言板:<textarea style="resize: none"></textarea>
        <br>
        <input type="checkbox" id="agree">
        <label for="agree">我同意以上条款</label>
        <br>
        喜欢的城市
        <select name="city">
            <option value="bj">北京</option>
            <option value="nj">南京</option>
            <option value="wh">武汉</option>
            <option value="zj" selected>浙江</option>
            <option value="sx">山西</option>
            <option value="js">江苏</option>
            <option value="sh">上海</option>
        </select>
        <br>



        <input type="submit" value="点我提交">
        <input type="reset" value="点我重置">
        <input type="button" value="普通按钮">
                <!--上下一样-->
        <button>普通按钮</button>
    </form>
</body>
</html>